package edu.ipfw.cs590.cheat.services;
/*
 * Course:    CS 590 Web Services
 * Semseter:  Spring 2009
 * Professor: Sedlemeyer
 * Project:   CHEAT (Code Help Educational Assignment Tool)
 * Due Date:  May 1, 2009
 * Team:      Sarcasm
 *            (Baker, Jason; Mitchell, Robin; Shie, Keith)
 */


/**
 *
 * @author rrm46582
 */
public enum UserRights
{
    Administrator,
    Instructor,
    Student;

    static public String toString(UserRights right)
    {
       switch  (right)
       {
           case Administrator:
               return "ADMIN";
           case Instructor:
               return "INST";
           case Student:
               return "STDNT";
           default:
               return "";
       }
    }
}
